Current Location: Home> Function Categories> getrandmax

getrandmax

Show the maximum possible value of random number
Name:getrandmax
Category:math
Programming Language:php
One-line Description:Displays the maximum possible value of the random number.

Definition and usage

getrandmax() function returns the maximum possible value that can be returned by rand() .

Example

Returns the largest possible value of the random number that can be returned by rand():

 <?php
echo ( getrandmax ( ) ) ; 
?>

Run the instance

grammar

 getrandmax ( ) ;
Similar Functions
  • Tilt tan

    tan

    Tilt
  • Convert octal to decimal octdec

    octdec

    Convertoctaltodecima
  • Round floating point numbers round

    round

    Roundfloatingpointnu
  • Anyway atan

    atan

    Anyway
  • Calculate the oblique length of a straight triangle hypot

    hypot

    Calculatetheobliquel
  • Generate a random integer rand

    rand

    Generatearandominteg
  • Find the minimum value min

    min

    Findtheminimumvalue
  • Round the division result intdiv

    intdiv

    Roundthedivisionresu
Popular Articles